/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alcatelparser.tags;

import alcatelparser.modules.BuilderFactory;
import alcatelparser.modules.I;

/**
 *
 * @author geniuz
 */
public class RecordSequenceNumberTag extends DefaultParserTag
{

    public RecordSequenceNumberTag()
    {
    }

    public final void parseTag(int ai[], int i)
    {
        _array = ai;
        setStandartLength(ai, i);/*
        String s = getTagContent(i);
        if(isFullForm())
        {
            String s1 = getTagIdentifyContent(i, i + 1);
            BuilderFactory.getBuilder().writeTagContent(3, 0, getTagPropertiesValue(I.I(5455)), (new StringBuilder()).append(s1).append(s).append(I.I(5425)).append(Integer.parseInt(s, 16)).toString());
        } else
        if(isTagChecked(I.I(5475)))
        {
            String s2 = isFieldsDecoding() ? (new StringBuilder()).append("").append(Integer.parseInt(s, 16)).toString() : s;
            BuilderFactory.getBuilder().writeTagContent(1, 0, getReducedTagPropertiesValue(I.I(5455)), s2);
        }*/
    }

    public final String getParseIdentityTag()
    {
        return I.I(5452);
    }

    private String getTagContent(int i)
    {
        int j = _array[i + 1];
        String s = "";
        for(int k = 0; k < j; k++)
            s = (new StringBuilder()).append(s).append(toHex(_array[i + 2 + k])).toString();

        return s;
    }
}
